package pizza3;

import java.util.Scanner;

/**
 * @Auther: xiaofei
 * @Date: 2021/6/8 - 06 - 08 - 15:41
 * @Description: pizza3
 * @version: 1.0
 */
public class test {
    //这是一个main方法，是程序的入口：
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请选择想要制作的披萨：1.培根披萨  2.水果披萨");
        int choice = sc.nextInt();
        Pizza pizza = PizzaStore.getPizza(choice);
        System.out.println(pizza.showPizza());
    }
}
